package com.cimstech.model;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "values")
public class Values extends IECResult {

    private ArrayList<Value> values;

    @XmlElement(name = "values")
    public ArrayList<Value> getValues() {
        return values;
    }

    public void setValues(ArrayList<Value> values) {
        this.values = values;
    }

    public String toString() {
        StringBuffer sb = new StringBuffer();
        sb.append("{\"iecResponseMessage\":\"").append(super.iecResponseMessage).append("\",\"iecResponseCause\":\"").append(super.iecResponseCause).append("\", \"values\":").append(values).append("}");
        return sb.toString();
    }
}
